package com.singletonapps.evory.dto;

import java.util.Date;


public class UserRoleDto {
    
    private Long id;
    private RoleDto role;    
    private UserDto user;
    private Date dateCreate;
    private Date dateUpdate;
    private Integer version;
    
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public RoleDto getRole() {
        return role;
    }
    public void setRole(RoleDto role) {
        this.role = role;
    }
    public UserDto getUser() {
        return user;
    }
    public void setUser(UserDto user) {
        this.user = user;
    }
    public Date getDateCreate() {
        return dateCreate;
    }
    public void setDateCreate(Date dateCreate) {
        this.dateCreate = new Date(dateCreate.getTime());
    }
    public Date getDateUpdate() {
        return dateUpdate;
    }
    public void setDateUpdate(Date dateUpdate) {
        this.dateUpdate = new Date(dateUpdate.getTime());
    }
    public Integer getVersion() {
        return version;
    }
    public void setVersion(Integer version) {
        this.version = version;
    }
    
    
}
